home *** CD-ROM | disk | FTP | other *** search
/ SGI Freeware 1999 August / SGI Freeware 1999 August.iso / dist / fw_xfig.idb / usr / freeware / src / xfig / sgi / fig2dev.dev / Imakefile.z / Imakefile
Encoding:
Makefile  |  1997-09-09  |  2.7 KB  |  63 lines

  1. #ifndef XCOMM
  2. #define XCOMM #
  3. #endif
  4.  
  5. XCOMM
  6. XCOMM    Fig2dev Driver Library Makefile
  7. XCOMM
  8. XCOMM Copyright (c) 1994 Micah Beck
  9. XCOMM
  10. XCOMM The X Consortium, and any party obtaining a copy of these files from
  11. XCOMM the X Consortium, directly or indirectly, is granted, free of charge, a
  12. XCOMM full and unrestricted irrevocable, world-wide, paid up, royalty-free,
  13. XCOMM nonexclusive right and license to deal in this software and
  14. XCOMM documentation files (the "Software"), including without limitation the
  15. XCOMM rights to use, copy, modify, merge, publish, distribute, sublicense,
  16. XCOMM and/or sell copies of the Software, and to permit persons who receive
  17. XCOMM copies from any such party to do so, with the only requirement being
  18. XCOMM that this copyright notice remain intact.  This license includes without
  19. XCOMM limitation a license to do the foregoing actions under any patents of
  20. XCOMM the party supplying this software to the X Consortium.
  21.  
  22. XCOMM Uncomment the following XPM variables here AND in the similar section
  23. XCOMM in ../Imakefile if you have the XPM (color pixmap) package and you
  24. XCOMM would like to allow XPM files.
  25. XCOMM Also change RGB_FILE if necessary, to point to your rgb.txt color
  26. XCOMM database file (for X11).  This is needed for those XPM flies which
  27. XCOMM have named colors (e.g. "white").
  28. XCOMM You need version 3.4c of the XPM package.
  29. XCOMM Finally, if your system doesn't have ndbm (the 'new' database subroutines)
  30. XCOMM remove the -DNDBM from the XPMRGB definition.
  31.  
  32. XCOMM XPMDEFINES = -DUSE_XPM
  33. XCOMM XPMINCDIR = /usr/local/X11/include/xpm
  34. XCOMM XPMRGB = -DRGB_FILE=\"/usr/lib/X11/rgb\" -DNDBM
  35.  
  36. XCOMM to set paper size to A4             add -DA4    to DEFINES list
  37. XCOMM to set IBM Graphics Enhancement Cartridge    add -DIBMGEC    to DEFINES list
  38. XCOMM to set DVI-to-PostScript driver to dvips    add -DDVIPS    to DEFINES list
  39.  
  40. XCOMM add -DNFSS to DEFINES list to use NFSS2 font selection for LaTeX texts
  41. XCOMM add -DEPSF to DEFINES list to use epsfig macros as distributed w/ LaTeX2e
  42. XCOMM
  43. XCOMM     Hint: Users of LaTeX2e will probably want to include both of these
  44. XCOMM     options; users of LaTeX 2.09 will probably want to include neither.
  45.  
  46. DEFINES = -DDVIPS -DNFSS -DEPSF $(XPMDEFINES)
  47.  
  48. INCLUDES = -I..
  49. EXTRA_INCLUDES = -I$(JPEGINCDIR) -I$(XPMINCDIR)
  50.  
  51. SRCS =  genbox.c genepic.c genibmgl.c genlatex.c genmf.c genpic.c genpictex.c \
  52.     genps.c genpstex.c gentextyl.c gentpic.c setfigfont.c psencode.c \
  53.     readpics.c readgif.c readxbm.c readxpm.c readjpg.c
  54. LIBOBJS = genbox.o genepic.o genibmgl.o genlatex.o genmf.o genpic.o genpictex.o \
  55.     genps.o genpstex.o gentextyl.o gentpic.o setfigfont.o psencode.o \
  56.     readpics.o readgif.o readxbm.o readxpm.o readjpg.o
  57.  
  58. LIB = transfig
  59.  
  60. NormalLibraryTarget($(LIB),$(LIBOBJS))
  61. SpecialObjectRule(readxpm.o, , $(XPMRGB))
  62. DependTarget()
  63.